package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.CollectionOriginalTypeEnum;
import com.sc.nft.enums.TransferCollectionWithoutStatusEnum;
import com.sc.nft.enums.TransferCollectionWithoutTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 转增到外部记录表(sc_transfer_collection_without_records)实体类
 *
 * @author Sun
 * @since 2024-05-18 13:13:49
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_transfer_collection_without_records")
public class TransferCollectionWithoutRecords extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 转增类型 :1转增 2:接收
     */
    private TransferCollectionWithoutTypeEnum transferType;
    /**
     * 类型: 2转增到玛特钱包
     */
    private CollectionOriginalTypeEnum type;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户藏品id
     */
    private Long userCollectionId;
    /**
     * 藏品id
     */
    private Long collectionId;
    /**
     * 编号
     */
    private Integer tokenId;
    /**
     * 目标地址
     */
    private String toUserAddr;
    /**
     * 目标地址
     */
    private String fromUserAddr;
    /**
     * 状态: 1:链上待执行 2:链上执行中 3:链上执行成功 5:已通知钱包执行 6:链上执行失败
     */
    private TransferCollectionWithoutStatusEnum status;
    /**
     * 合约地址
     */
    private String contractAddress;
    /**
     * 用户链记录表id
     */
    private Long userCollectionChainLogId;
    /**
     *  交易hash玛特宇宙
     */
    private String mateUniverseTransactionHash;
    /**
     *  交易hash玛特钱包
     */
    private String mateWalletTransactionHash;
    /**
     * 请求结果
     */
    private String reqResult;
    /**
     *  来源用户昵称
     */
    private String fromUserNickName;

}